package com.hxzy.mapper;

import com.hxzy.dto.GoodsInfoDTO;
import com.hxzy.dto.PageDTO;
import com.hxzy.entity.TbNewbeeMallGoodsInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbNewbeeMallGoodsInfoMapper {
    int deleteByPrimaryKey(Long goodsId);

    int insert(TbNewbeeMallGoodsInfo record);

    int insertSelective(TbNewbeeMallGoodsInfo record);

    TbNewbeeMallGoodsInfo selectByPrimaryKey(Long goodsId);

    int updateByPrimaryKeySelective(TbNewbeeMallGoodsInfo record);

    int updateByPrimaryKeyWithBLOBs(TbNewbeeMallGoodsInfo record);

    int updateByPrimaryKey(TbNewbeeMallGoodsInfo record);

    List<TbNewbeeMallGoodsInfo> search(GoodsInfoDTO pageDTO);
}